mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
tools/system: replace name with pname&version
This commit is contained in:
parent
16b7e4900e
commit
e170c65244
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "stress-1.0.4";
|
||||
pname = "stress";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://people.seas.harvard.edu/~apw/stress/${name}.tar.gz";
|
||||
url = "https://people.seas.harvard.edu/~apw/stress/stress-${version}.tar.gz";
|
||||
sha256 = "0nw210jajk38m3y7h8s130ps2qsbz7j75wab07hi2r3hlz14yzh5";
|
||||
};
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "ts-1.0";
|
||||
pname = "ts";
|
||||
version = "1.0";
|
||||
|
||||
installPhase=''make install "PREFIX=$out"'';
|
||||
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://viric.name/~viric/soft/ts/${name}.tar.gz";
|
||||
url = "https://viric.name/~viric/soft/ts/ts-${version}.tar.gz";
|
||||
sha256 = "15dkzczx10fhl0zs9bmcgkxfbwq2znc7bpscljm4rchbzx7y6lsg";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "undaemonize-2017-07-11";
|
||||
pname = "undaemonize";
|
||||
version = "unstable-2017-07-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "undaemonize";
|
||||
owner = "nickstenning";
|
||||
|
|
Loading…
Reference in a new issue