From 04bc3ffcf11a672f13c0c8f502d664e16c2a085c Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 16 Sep 2018 13:51:46 +0200 Subject: cleanup .nix files --- Reaktor.nix | 24 ------------------------ default.nix | 16 ---------------- shell.nix | 9 +++++++++ 3 files changed, 9 insertions(+), 40 deletions(-) delete mode 100644 Reaktor.nix delete mode 100644 default.nix create mode 100644 shell.nix diff --git a/Reaktor.nix b/Reaktor.nix deleted file mode 100644 index 0f9a2ed..0000000 --- a/Reaktor.nix +++ /dev/null @@ -1,24 +0,0 @@ -with import {}; -# nix-build Reaktor.nix -# result/bin/reaktor -## or in your env -# nix-env -i -f Reaktor.nix - -buildPythonPackage rec { - name = "Reaktor-${version}"; - version = "0.2.6"; - propagatedBuildInputs = with pkgs;[ - pythonPackages.docopt - utillinux # for tell_on-join - git - ]; - src = fetchurl { - url = "https://pypi.python.org/packages/source/R/Reaktor/Reaktor-${version}.tar.gz"; - sha256 = "1dksw1s1n2hxvnga6pygjr174dywncr0wiggkrkn1srbn2amh1c2"; - }; - meta = { - homepage = http://krebsco.de/; - description = "An IRC bot based on asynchat"; - license = stdenv.lib.licenses.wtfpl; - }; -} diff --git a/default.nix b/default.nix deleted file mode 100644 index 8ecdd88..0000000 --- a/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -with import {}; -# nix-shell --pure . -stdenv.mkDerivation rec { - name = "Reaktor-${version}"; - version = "0.2.6"; - buildInputs = with pkgs;[ - python34 - python34Packages.docopt - python34Packages.virtualenv - ]; - - shellHook ='' - [ ! -d venv ] && virtualenv --python=python3.4 venv - . venv/bin/activate - '' ; -} diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..0c33427 --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +with import {}; +with pkgs.python3Packages; + +buildPythonPackage rec { + name = "buildbot-master"; + src = ./.; + propagatedBuildInputs = [ docopt ]; +} + -- cgit v1.2.3