treewide: rename name to pname&version
This commit is contained in:
parent
a57a774cfa
commit
814b63e93e
|
@ -3,7 +3,8 @@
|
|||
let
|
||||
hyperHaskellEnv = ghcWithPackages (self: [ self.hyper-haskell-server ] ++ packages self);
|
||||
in stdenv.mkDerivation {
|
||||
name = "hyper-haskell-server-with-packages-${hyperHaskellEnv.version}";
|
||||
pname = "hyper-haskell-server-with-packages";
|
||||
version = hyperHaskellEnv.version;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "direvent-${version}";
|
||||
pname = "direvent";
|
||||
version = "5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/direvent/${name}.tar.gz";
|
||||
url = "mirror://gnu/direvent/direvent-${version}.tar.gz";
|
||||
sha256 = "0m9vi01b1km0cpknflyzsjnknbava0s1n6393b2bpjwyvb6j5613";
|
||||
};
|
||||
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
}:
|
||||
|
||||
let
|
||||
name = "distcc";
|
||||
pname = "distcc";
|
||||
version = "2021-03-11";
|
||||
distcc = stdenv.mkDerivation {
|
||||
name = "${name}-${version}";
|
||||
inherit pname version;
|
||||
src = fetchFromGitHub {
|
||||
owner = "distcc";
|
||||
repo = "distcc";
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, python3, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
basename = "kconfig-frontends";
|
||||
pname = "kconfig-frontends";
|
||||
version = "4.11.0.1";
|
||||
name = "${basename}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "1xircdw3k7aaz29snf96q2fby1cs48bidz5l1kkj0a5gbivw31i3";
|
||||
url = "http://ymorin.is-a-geek.org/download/${basename}/${name}.tar.xz";
|
||||
url = "http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-${version}.tar.xz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ bison flex gperf pkg-config ];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "patchelf-${version}";
|
||||
pname = "patchelf";
|
||||
version = "2021-11-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
{lib, stdenv, fetchurl, unzip}:
|
||||
|
||||
let baseName = "premake";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "premake";
|
||||
version = "3.7";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "${baseName}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sourceforge/premake/${baseName}-src-${version}.zip";
|
||||
url = "mirror://sourceforge/sourceforge/premake/premake-src-${version}.zip";
|
||||
sha256 = "b59841a519e75d5b6566848a2c5be2f91455bf0cc6ae4d688fcbd4c40db934d5";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
let baseName = "premake";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "premake";
|
||||
version = "4.3";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "${baseName}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${baseName}/${baseName}-${version}-src.zip";
|
||||
url = "mirror://sourceforge/premake/premake-${version}-src.zip";
|
||||
sha256 = "1017rd0wsjfyq2jvpjjhpszaa7kmig6q1nimw76qx3cjz2868lrn";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue