aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-09-16 13:51:46 +0200
committerlassulus <lassulus@lassul.us>2018-09-16 13:51:46 +0200
commit04bc3ffcf11a672f13c0c8f502d664e16c2a085c (patch)
treea480d3997f54b015c39c016ef2833d47bfcf1e1d
parentb7ca1df32161008623115c182bd13fdf98cb0ea9 (diff)
cleanup .nix files
-rw-r--r--Reaktor.nix24
-rw-r--r--default.nix16
-rw-r--r--shell.nix9
3 files changed, 9 insertions, 40 deletions
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 <nixpkgs> {};
-# 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 <nixpkgs> {};
-# 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 <nixpkgs> {};
+with pkgs.python3Packages;
+
+buildPythonPackage rec {
+ name = "buildbot-master";
+ src = ./.;
+ propagatedBuildInputs = [ docopt ];
+}
+