mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
36 lines
829 B
Nix
36 lines
829 B
Nix
{ stdenv, lib, fetchFromGitHub, python2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.0";
|
|
pname = "reptyr";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nelhage";
|
|
repo = "reptyr";
|
|
rev = "reptyr-${version}";
|
|
sha256 = "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
|
|
|
|
checkInputs = [ (python2.withPackages (p: [ p.pexpect ])) ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
platforms = [
|
|
"i686-linux"
|
|
"x86_64-linux"
|
|
"i686-freebsd"
|
|
"x86_64-freebsd"
|
|
"armv5tel-linux"
|
|
"armv6l-linux"
|
|
"armv7l-linux"
|
|
"aarch64-linux"
|
|
];
|
|
maintainers = with lib.maintainers; [raskin];
|
|
license = lib.licenses.mit;
|
|
description = "Reparent a running program to a new terminal";
|
|
homepage = https://github.com/nelhage/reptyr;
|
|
};
|
|
}
|