pastebinit: fix build
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, python3Packages }:
|
{ stdenv, fetchurl, python3 }:
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.4.1";
|
version = "1.4.1";
|
||||||
name = "pastebinit-${version}";
|
name = "pastebinit-${version}";
|
||||||
|
|
||||||
@@ -9,9 +9,7 @@ python3Packages.buildPythonPackage rec {
|
|||||||
sha256 = "1rl854izwn1fpaaib6zj7a1a9bis8n7w4zfxcapgfffj37zj0dy2";
|
sha256 = "1rl854izwn1fpaaib6zj7a1a9bis8n7w4zfxcapgfffj37zj0dy2";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = "export DETERMINISTIC_BUILD=1";
|
buildInputs = [ python3 ];
|
||||||
|
|
||||||
buildPhase = "";
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
@@ -21,8 +19,6 @@ python3Packages.buildPythonPackage rec {
|
|||||||
substituteInPlace $out/bin/pastebinit --replace "'/etc/pastebin.d" "'$out/etc/pastebin.d"
|
substituteInPlace $out/bin/pastebinit --replace "'/etc/pastebin.d" "'$out/etc/pastebin.d"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://launchpad.net/pastebinit;
|
homepage = https://launchpad.net/pastebinit;
|
||||||
description = "A software that lets you send anything you want directly to a pastebin from the command line";
|
description = "A software that lets you send anything you want directly to a pastebin from the command line";
|
||||||
|
|||||||
Reference in New Issue
Block a user