add peage-print script
parent
f00d74f49f
commit
08fc43795d
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
ftb = pkgs.callPackage ./ftb.nix {};
|
ftb = pkgs.callPackage ./ftb.nix {};
|
||||||
pyroscope = pkgs.callPackage ./pyroscope.nix {};
|
pyroscope = pkgs.callPackage ./pyroscope.nix {};
|
||||||
|
peageprint = pkgs.callPackage ./peageprint.nix {};
|
||||||
python35Packages = py3 // {
|
python35Packages = py3 // {
|
||||||
# pycrypto runs slow tests by default
|
# pycrypto runs slow tests by default
|
||||||
pycrypto = py3.pycrypto.overrideDerivation (attrs: {
|
pycrypto = py3.pycrypto.overrideDerivation (attrs: {
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {}
|
||||||
|
, stdenv ? pkgs.stdenv
|
||||||
|
, fetchgit ? pkgs.fetchgit
|
||||||
|
, samba3_light ? pkgs.samba3_light
|
||||||
|
, lib ? pkgs.lib
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "peage-print";
|
||||||
|
version = "0.1.2";
|
||||||
|
src = fetchgit {
|
||||||
|
url = https://gist.github.com/dsprenkels/d75d6856ec536a4b28422dd1aa107f9d;
|
||||||
|
rev = "f18f2cbfc93ff475943abb414c84a51a597f48c5";
|
||||||
|
sha256 = "019ggsn445sw8lb7gvwfsaxdkqdgf8dr5qb2ncir7akm7d70jnd7";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
install ./peage-print $out/bin
|
||||||
|
wrapProgram $out/bin/peage-print --suffix PATH : ${samba3_light}/bin
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue