pastebinit: fix build
This commit is contained in:
parent
2d46ab2557
commit
62dd6c1d72
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue