treewide: rename name to pname&version
This commit is contained in:
parent
b178b1c43a
commit
b83b349049
|
@ -1,8 +1,8 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, bison, flex, bluez, pkg-config, gtk2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cwiid-${version}-git";
|
||||
version = "2010-02-21";
|
||||
pname = "cwiid";
|
||||
version = "unstable-2010-02-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "abstrakraft";
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cxxopts";
|
||||
pname = "cxxopts";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jarro2783";
|
||||
repo = name;
|
||||
repo = "cxxopts";
|
||||
rev = "v${version}";
|
||||
sha256 = "08x7j168l1xwj0r3rv89cgghmfhsx98lpq35r3vkh504m1pd55a6";
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ fetchFromGitHub, lib, stdenv, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dotconf-" + version;
|
||||
pname = "dotconf";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
}:
|
||||
|
||||
stdenvNoLibs.mkDerivation rec {
|
||||
name = "libgcc-${version}";
|
||||
pname = "libgcc";
|
||||
inherit (gcc.cc) src version;
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, intltool, openssl, expat, libgcrypt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ggz-base-libs";
|
||||
version = "0.99.5";
|
||||
baseName = "ggz-base-libs";
|
||||
name = "${baseName}-snapshot-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/${name}.tar.gz";
|
||||
url = "http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/ggz-base-libs-snapshot-${version}.tar.gz";
|
||||
sha256 = "1cw1vg0fbj36zyggnzidx9cbjwfc1yr4zqmsipxnvns7xa2awbdk";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gtk2, glibmm, cairomm, pangomm, atkmm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtkmm-${minVer}.5";
|
||||
minVer = "2.24";
|
||||
pname = "gtkmm";
|
||||
version = "2.24.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtkmm/${minVer}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/gtkmm/${lib.versions.majorMinor version}/gtkmm-${version}.tar.xz";
|
||||
sha256 = "0680a53b7bf90b4e4bf444d1d89e6df41c777e0bacc96e9c09fc4dd2f5fe6b72";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
dict = variant: a: stdenv.mkDerivation ({
|
||||
inherit (hspell) src patchPhase nativeBuildInputs;
|
||||
inherit (hspell) version src patchPhase nativeBuildInputs;
|
||||
buildFlags = [ variant ];
|
||||
|
||||
meta = hspell.meta // {
|
||||
|
@ -15,7 +15,7 @@ in
|
|||
recurseForDerivations = true;
|
||||
|
||||
aspell = dict "aspell" {
|
||||
name = "aspell-dict-he-${hspell.version}";
|
||||
pname = "aspell-dict-he";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/aspell
|
||||
|
@ -23,7 +23,7 @@ in
|
|||
};
|
||||
|
||||
myspell = dict "myspell" {
|
||||
name = "myspell-dict-he-${hspell.version}";
|
||||
pname = "myspell-dict-he";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/myspell
|
||||
|
@ -31,7 +31,7 @@ in
|
|||
};
|
||||
|
||||
hunspell = dict "hunspell" {
|
||||
name = "hunspell-dict-he-${hspell.version}";
|
||||
pname = "hunspell-dict-he";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jcal";
|
||||
pname = "jcal";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, stdenv, fetchFromGitHub, opencl-headers, cmake, withTracing ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "khronos-ocl-icd-loader-${version}";
|
||||
pname = "khronos-ocl-icd-loader";
|
||||
version = "2022.01.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "frog-${release.version}";
|
||||
pname = "frog";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "frog-v${release.version}.tar.gz"; };
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "frogdata-${release.version}";
|
||||
pname = "frogdata";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "frogdata-${release.version}.tar.gz"; };
|
||||
|
|
|
@ -8,7 +8,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libfolia-${release.version}";
|
||||
pname = "libfolia";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "libfolia-${release.version}.tar.gz"; };
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mbt-${release.version}";
|
||||
pname = "mbt";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "mbt-${release.version}.tar.gz"; };
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ticcutils-${release.version}";
|
||||
pname = "ticcutils";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "ticcutils-${release.version}.tar.gz"; };
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "timbl-${release.version}";
|
||||
pname = "timbl";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "timbl-${release.version}.tar.gz"; };
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "timblserver-${release.version}";
|
||||
pname = "timblserver";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "timblserver-${release.version}.tar.gz"; };
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ucto-${release.version}";
|
||||
pname = "ucto";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "ucto-${release.version}.tar.gz"; };
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "uctodata-${release.version}";
|
||||
pname = "uctodata";
|
||||
version = release.version;
|
||||
src = fetchurl { inherit (release) url sha256;
|
||||
name = "uctodata-${release.version}.tar.gz"; };
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
with lib;
|
||||
|
||||
collectd.overrideAttrs (oldAttrs: {
|
||||
name = "libcollectdclient-${collectd.version}";
|
||||
pname = "libcollectdclient";
|
||||
inherit (collectd) version;
|
||||
buildInputs = [ ];
|
||||
|
||||
configureFlags = (oldAttrs.configureFlags or []) ++ [
|
||||
|
|
Loading…
Reference in a new issue