diff options
author | Domen Kožar <domen@dev.si> | 2014-11-15 10:57:44 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-11-15 10:57:51 +0100 |
commit | 62dd6c1d72ccee8f662b311f67f080637a440380 (patch) | |
tree | ad3b19c308ec312fb6179ab7a1a2cfdd9501af84 | |
parent | 2d46ab2557836da3a41554919aa3f07cfaef02b5 (diff) |
pastebinit: fix build
-rw-r--r-- | pkgs/tools/misc/pastebinit/default.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/tools/misc/pastebinit/default.nix b/pkgs/tools/misc/pastebinit/default.nix index b8b90333c00f5..fd5004302dff9 100644 --- a/pkgs/tools/misc/pastebinit/default.nix +++ b/pkgs/tools/misc/pastebinit/default.nix @@ -1,6 +1,6 @@ -{ stdenv, fetchurl, python3Packages }: +{ stdenv, fetchurl, python3 }: -python3Packages.buildPythonPackage rec { +stdenv.mkDerivation rec { version = "1.4.1"; name = "pastebinit-${version}"; @@ -9,9 +9,7 @@ python3Packages.buildPythonPackage rec { sha256 = "1rl854izwn1fpaaib6zj7a1a9bis8n7w4zfxcapgfffj37zj0dy2"; }; - configurePhase = "export DETERMINISTIC_BUILD=1"; - - buildPhase = ""; + buildInputs = [ python3 ]; installPhase = '' mkdir -p $out/bin @@ -21,8 +19,6 @@ python3Packages.buildPythonPackage rec { substituteInPlace $out/bin/pastebinit --replace "'/etc/pastebin.d" "'$out/etc/pastebin.d" ''; - doCheck = false; - meta = with stdenv.lib; { homepage = https://launchpad.net/pastebinit; description = "A software that lets you send anything you want directly to a pastebin from the command line"; |