From 62dd6c1d72ccee8f662b311f67f080637a440380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Sat, 15 Nov 2014 10:57:44 +0100 Subject: [PATCH] pastebinit: fix build --- pkgs/tools/misc/pastebinit/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/pastebinit/default.nix b/pkgs/tools/misc/pastebinit/default.nix index b8b90333c00..fd5004302df 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";