Merge branch 'pastebinit' of git://github.com/lethalman/nixpkgs
pastebinit: new package
This commit is contained in:
commit
0bab5319cc
33
pkgs/tools/misc/pastebinit/default.nix
Normal file
33
pkgs/tools/misc/pastebinit/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, fetchurl, python3Packages }:
|
||||||
|
|
||||||
|
python3Packages.buildPythonPackage rec {
|
||||||
|
version = "1.4.1";
|
||||||
|
name = "pastebinit-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://launchpad.net/pastebinit/trunk/${version}/+download/${name}.tar.bz2";
|
||||||
|
md5 = "b771872a9483cf92be90a3e4420fd3c9";
|
||||||
|
};
|
||||||
|
|
||||||
|
configurePhase = "export DETERMINISTIC_BUILD=1";
|
||||||
|
|
||||||
|
buildPhase = "";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mkdir -p $out/etc
|
||||||
|
cp -a pastebinit $out/bin
|
||||||
|
cp -a pastebin.d $out/etc
|
||||||
|
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";
|
||||||
|
maintainers = with maintainers; [ lethalman ];
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1766,6 +1766,8 @@ let
|
|||||||
|
|
||||||
cntlm = callPackage ../tools/networking/cntlm { };
|
cntlm = callPackage ../tools/networking/cntlm { };
|
||||||
|
|
||||||
|
pastebinit = callPackage ../tools/misc/pastebinit { };
|
||||||
|
|
||||||
psmisc = callPackage ../os-specific/linux/psmisc { };
|
psmisc = callPackage ../os-specific/linux/psmisc { };
|
||||||
|
|
||||||
pstoedit = callPackage ../tools/graphics/pstoedit { };
|
pstoedit = callPackage ../tools/graphics/pstoedit { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user