mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
toolsi/package-management: replace name with pname&version
This commit is contained in:
parent
16b7e4900e
commit
eb48ac909a
@ -2,11 +2,12 @@
|
||||
|
||||
assert stdenv.isLinux && stdenv ? glibc;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "checkinstall-1.6.2";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "checkinstall";
|
||||
version = "1.6.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.6.2.tar.gz";
|
||||
url = "https://www.asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-${version}.tar.gz";
|
||||
sha256 = "1x4kslyvfd6lm6zd1ylbq2pjxrafb77ydfjaqi16sa5qywn1jqfw";
|
||||
};
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
{lib, stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "DisnixWebService-0.10.1";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "DisnixWebService";
|
||||
version = "0.10.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/DisnixWebService/releases/download/DisnixWebService-0.10.1/DisnixWebService-0.10.1.tar.gz";
|
||||
url = "https://github.com/svanderburg/DisnixWebService/releases/download/DisnixWebService-${version}/DisnixWebService-${version}.tar.gz";
|
||||
sha256 = "02jxbgn9a0c9cr6knzp78bp9wiywzczy89wav7yxhg79vff8a1gr";
|
||||
};
|
||||
buildInputs = [ apacheAnt jdk ];
|
||||
|
@ -1,10 +1,11 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, glib, libxml2, libxslt, getopt, gettext, dysnomia, libintl, libiconv }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "disnix-0.10.1";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "disnix";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/disnix/releases/download/disnix-0.10.1/disnix-0.10.1.tar.gz";
|
||||
url = "https://github.com/svanderburg/disnix/releases/download/disnix-${version}/disnix-${version}.tar.gz";
|
||||
sha256 = "13rjw1va7l8w7ir73xqxq4zb3ig2iwhiwxhp5dbfv0z3gnqizghq";
|
||||
};
|
||||
|
||||
|
@ -1,10 +1,11 @@
|
||||
{ lib, stdenv, fetchurl, dysnomia, disnix, socat, pkg-config, getopt }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "disnixos-0.9.1";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "disnixos";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/disnixos/releases/download/disnixos-0.9.1/disnixos-0.9.1.tar.gz";
|
||||
url = "https://github.com/svanderburg/disnixos/releases/download/disnixos-${version}/disnixos-${version}.tar.gz";
|
||||
sha256 = "1n2psq1b8bg340i2i0yf5xy2rf78fwqd3wj342wcmq09cv2v8d1b";
|
||||
};
|
||||
|
||||
|
@ -38,10 +38,11 @@ assert enableNginxWebApplication -> nginx != null;
|
||||
assert enableS6RCService -> s6-rc != null;
|
||||
assert enableXinetdService -> xinetd != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dysnomia-0.10.1";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dysnomia";
|
||||
version = "0.10.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/dysnomia/releases/download/dysnomia-0.10.1/dysnomia-0.10.1.tar.gz";
|
||||
url = "https://github.com/svanderburg/dysnomia/releases/download/dysnomia-${version}/dysnomia-${version}.tar.gz";
|
||||
sha256 = "0w9601g8zpaxrmynx6mh8zz85ldpb8psp7cc6ls8v3srjpj1l5n3";
|
||||
};
|
||||
|
||||
|
@ -16,7 +16,8 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "nix-serve-0.2-${substring 0 7 rev}";
|
||||
pname = "nix-serve";
|
||||
version = "0.2-${substring 0 7 rev}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "edolstra";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "opkg-utils-20141030";
|
||||
pname = "opkg-utils";
|
||||
version = "unstable-2014-10-30";
|
||||
|
||||
# No releases, only a git tree
|
||||
src = fetchgit {
|
||||
|
Loading…
Reference in New Issue
Block a user