Merge pull request #157497 from Stunkymonkey/treewide-pname-version-9

This commit is contained in:
Sandro 2022-02-07 00:37:14 +01:00 committed by GitHub
commit 17cf0234c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 21 deletions

View File

@ -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 ];

View File

@ -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";
};

View File

@ -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";

View File

@ -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 ];

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "patchelf-${version}";
pname = "patchelf";
version = "2021-11-16";
src = fetchFromGitHub {

View File

@ -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";
};

View File

@ -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";
};