pkgs/tools: use pname&version instead of name
This commit is contained in:
parent
4f6849f7c4
commit
22dffe27f3
|
@ -1,13 +1,12 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, python3 }:
|
{ lib, stdenv, fetchFromGitHub, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
program = "dex";
|
pname = "dex";
|
||||||
name = "${program}-${version}";
|
|
||||||
version = "0.9.0";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jceb";
|
owner = "jceb";
|
||||||
repo = program;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
|
sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ lib, stdenv, fetchurl, libX11, libXrandr }:
|
{ lib, stdenv, fetchurl, libX11, libXrandr }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sct";
|
pname = "sct";
|
||||||
|
version = "unstable-2015-11-16";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.tedunangst.com/flak/files/sct.c";
|
url = "http://www.tedunangst.com/flak/files/sct.c";
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "virtualgl-${lib.getVersion virtualglLib}";
|
pname = "virtualgl";
|
||||||
|
version = lib.getVersion virtualglLib;
|
||||||
|
|
||||||
paths = [ virtualglLib ];
|
paths = [ virtualglLib ];
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "5.133";
|
version = "5.133";
|
||||||
name = "byobu-" + version;
|
pname = "byobu";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://launchpad.net/byobu/trunk/${version}/+download/byobu_${version}.orig.tar.gz";
|
url = "https://launchpad.net/byobu/trunk/${version}/+download/byobu_${version}.orig.tar.gz";
|
||||||
|
|
|
@ -1,17 +1,14 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, curl, jansson, autoconf, automake
|
{ lib, stdenv, fetchFromGitHub, curl, jansson, autoconf, automake
|
||||||
, aesni ? stdenv.hostPlatform.aesSupport }:
|
, aesni ? stdenv.hostPlatform.aesSupport }:
|
||||||
|
|
||||||
let
|
|
||||||
rev = "8393e03089c0abde61bd5d72aba8f926c3d6eca4";
|
|
||||||
date = "20160316";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "cpuminer-multi-${date}-${lib.strings.substring 0 7 rev}";
|
pname = "cpuminer-multi";
|
||||||
|
version = "unstable-2016-03-16";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hyc";
|
owner = "hyc";
|
||||||
repo = "cpuminer-multi";
|
repo = "cpuminer-multi";
|
||||||
inherit rev;
|
rev = "8393e03089c0abde61bd5d72aba8f926c3d6eca4";
|
||||||
sha256 = "11dg4rra4dgfb9x6q85irn0hrkx2lkwyrdpgdh10pag09s3vhy4v";
|
sha256 = "11dg4rra4dgfb9x6q85irn0hrkx2lkwyrdpgdh10pag09s3vhy4v";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "fx_cast_bridge-${version}";
|
pname = "fx_cast_bridge";
|
||||||
version = "0.1.2";
|
version = "0.1.2";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
|
|
|
@ -2,10 +2,9 @@
|
||||||
, enableGUI ? false, qtbase ? null
|
, enableGUI ? false, qtbase ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "1.4.2"; in
|
mkDerivation rec {
|
||||||
|
pname = "heimdall${lib.optionalString enableGUI "-gui"}";
|
||||||
mkDerivation {
|
version = "1.4.2";
|
||||||
name = "heimdall-${if enableGUI then "gui-" else ""}${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Benjamin-Dobell";
|
owner = "Benjamin-Dobell";
|
||||||
|
@ -15,7 +14,8 @@ mkDerivation {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
zlib libusb1
|
zlib
|
||||||
|
libusb1
|
||||||
] ++ lib.optional enableGUI qtbase;
|
] ++ lib.optional enableGUI qtbase;
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, jre, makeWrapper, ant, jdk }:
|
{ lib, stdenv, fetchFromGitHub, jre, makeWrapper, ant, jdk }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.2.1";
|
version = "1.2.1";
|
||||||
name = "jugglinglab";
|
pname = "jugglinglab";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jkboyce";
|
owner = "jkboyce";
|
||||||
repo = "jugglinglab";
|
repo = "jugglinglab";
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# support for 64-bit yet: it requires libc6-dev:i386, libreadline-dev:i386.
|
# support for 64-bit yet: it requires libc6-dev:i386, libreadline-dev:i386.
|
||||||
|
|
||||||
stdenv_32bit.mkDerivation rec {
|
stdenv_32bit.mkDerivation rec {
|
||||||
name = "loadlibrary-${version}";
|
pname = "loadlibrary";
|
||||||
version = "20170525-${lib.strings.substring 0 7 rev}";
|
version = "20170525-${lib.strings.substring 0 7 rev}";
|
||||||
rev = "721b084c088d779075405b7f20c77c2578e2a961";
|
rev = "721b084c088d779075405b7f20c77c2578e2a961";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -11,10 +11,10 @@ with lib;
|
||||||
|
|
||||||
let this = stdenv.mkDerivation rec {
|
let this = stdenv.mkDerivation rec {
|
||||||
version = elk6Version;
|
version = elk6Version;
|
||||||
name = "logstash-${optionalString (!enableUnfree) "oss-"}${version}";
|
pname = "logstash${optionalString (!enableUnfree) "-oss"}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://artifacts.elastic.co/downloads/logstash/${name}.tar.gz";
|
url = "https://artifacts.elastic.co/downloads/logstash/${pname}-${version}.tar.gz";
|
||||||
sha256 =
|
sha256 =
|
||||||
if enableUnfree
|
if enableUnfree
|
||||||
then "00pwi7clgdflzzg15bh3y30gzikvvy7p5fl88fww7xhhy47q8053"
|
then "00pwi7clgdflzzg15bh3y30gzikvvy7p5fl88fww7xhhy47q8053"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, libusb1, pkg-config }:
|
{ lib, stdenv, fetchFromGitHub, libusb1, pkg-config }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "OpenCorsairLink-${version}";
|
pname = "OpenCorsairLink";
|
||||||
version = "2019-12-23";
|
version = "unstable-2019-12-23";
|
||||||
|
|
||||||
buildInputs = [ libusb1 ];
|
buildInputs = [ libusb1 ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, python3, texinfo, makeWrapper }:
|
{ lib, stdenv, fetchFromGitHub, python3, texinfo, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ponysay";
|
pname = "ponysay";
|
||||||
version = "unstable-2021-03-27";
|
version = "unstable-2021-03-27";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ lib, mkDerivation, fetchFromGitHub, gnumake, qmake }:
|
{ lib, mkDerivation, fetchFromGitHub, gnumake, qmake }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "veikk-linux-driver-gui";
|
pname = "veikk-linux-driver-gui";
|
||||||
version = "2.0";
|
version = "2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jlam55555";
|
owner = "jlam55555";
|
||||||
repo = name;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "02g1q79kwjlzg95w38a1d7nxvcry8xcsvhax2js4c7xqvzhkki5j";
|
sha256 = "02g1q79kwjlzg95w38a1d7nxvcry8xcsvhax2js4c7xqvzhkki5j";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{ lib, stdenv, fetchurl, libXScrnSaver, libX11 }:
|
{ lib, stdenv, fetchurl, libXScrnSaver, libX11 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
version = "9.2.4";
|
version = "9.2.4";
|
||||||
name = "x11idle-org-${version}";
|
pname = "x11idle-org";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://code.orgmode.org/bzg/org-mode/raw/release_${version}/contrib/scripts/x11idle.c";
|
url = "https://code.orgmode.org/bzg/org-mode/raw/release_${version}/contrib/scripts/x11idle.c";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchgit, ronn, mount }:
|
{ lib, stdenv, fetchgit, ronn, mount }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "atinout-${version}";
|
pname = "atinout";
|
||||||
version = "0.9.2-alpha";
|
version = "0.9.2-alpha";
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.cc.isClang) "-Werror=implicit-fallthrough=0";
|
NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.cc.isClang) "-Werror=implicit-fallthrough=0";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchFromGitHub }:
|
{ lib, stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "bacnet-stack";
|
pname = "bacnet-stack";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchurl, bison, lzo, db4 }:
|
{ lib, stdenv, fetchurl, bison, lzo, db4 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "netboot";
|
pname = "netboot";
|
||||||
version = "0.10.2";
|
version = "0.10.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -16,8 +16,8 @@ let versions = lib.importJSON ./versions.json;
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ngrok-${version}";
|
pname = "ngrok";
|
||||||
version = version;
|
inherit version;
|
||||||
|
|
||||||
# run ./update
|
# run ./update
|
||||||
src = fetchurl { inherit sha256 url; };
|
src = fetchurl { inherit sha256 url; };
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{ stdenv, lib, fetchFromGitHub }:
|
{ stdenv, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${program}-${version}";
|
pname = "prettyping";
|
||||||
program = "prettyping";
|
|
||||||
version = "1.0.1";
|
version = "1.0.1";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "denilsonsa";
|
owner = "denilsonsa";
|
||||||
repo = program;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "05vfaq9y52z40245j47yjk1xaiwrazv15sgjq64w91dfyahjffxf";
|
sha256 = "05vfaq9y52z40245j47yjk1xaiwrazv15sgjq64w91dfyahjffxf";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, libevent }:
|
{ lib, stdenv, fetchFromGitHub, libevent }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pkg = "redsocks";
|
pname = "redsocks";
|
||||||
version = "0.5";
|
version = "0.5";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "${pkg}-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "darkk";
|
owner = "darkk";
|
||||||
repo = pkg;
|
repo = "redsocks";
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "170cpvvivb6y2kwsqj9ppx5brgds9gkn8mixrnvj8z9c15xhvplm";
|
sha256 = "170cpvvivb6y2kwsqj9ppx5brgds9gkn8mixrnvj8z9c15xhvplm";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{ lib, stdenv, fetchurl, ppp } :
|
{ lib, stdenv, fetchurl, ppp } :
|
||||||
let
|
let
|
||||||
version = "3.12";
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "rp-pppoe-" + version;
|
pname = "rp-pppoe";
|
||||||
|
version = "3.12";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.roaringpenguin.com/files/download/rp-pppoe-${version}.tar.gz";
|
url = "https://www.roaringpenguin.com/files/download/rp-pppoe-${version}.tar.gz";
|
||||||
sha256 = "1hl6rjvplapgsyrap8xj46kc9kqwdlm6ya6gp3lv0ihm0c24wy80";
|
sha256 = "1hl6rjvplapgsyrap8xj46kc9kqwdlm6ya6gp3lv0ihm0c24wy80";
|
||||||
|
@ -11,7 +12,6 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ ppp ];
|
buildInputs = [ ppp ];
|
||||||
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cd src
|
cd src
|
||||||
export PPPD=${ppp}/sbin/pppd
|
export PPPD=${ppp}/sbin/pppd
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
{ lib, fetchFromGitHub, rustPlatform }:
|
{ lib, fetchFromGitHub, rustPlatform }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "tdns-cli";
|
pname = "tdns-cli";
|
||||||
version = "0.0.5";
|
version = "0.0.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rotty";
|
owner = "rotty";
|
||||||
repo = name;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0nn036in5j1h0vxkwif0lf7fn900zy4f4kxlzy6qdx3jakgmxvwh";
|
sha256 = "0nn036in5j1h0vxkwif0lf7fn900zy4f4kxlzy6qdx3jakgmxvwh";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "14mmfj5my8gbsdhlhz17w8wjcc085c6dkj78kwr2hhsbcxp1vjgg";
|
cargoSha256 = "sha256-O4n38dla2WgZ4949Ata6AYbZF9LMnXDyuFNoXRrTN7I=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "DNS tool that aims to replace dig and nsupdate";
|
description = "DNS tool that aims to replace dig and nsupdate";
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "toxvpn";
|
pname = "toxvpn";
|
||||||
version = "unstable-2019-09-09";
|
version = "unstable-2019-09-09";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
{ lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
{ lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "waitron-unstable-${version}";
|
pname = "waitron";
|
||||||
version = "2020-01-24";
|
version = "unstable-2020-01-24";
|
||||||
rev = "c96833619cbb0cf2bc71b1d7b534101e139cc6e6";
|
rev = "c96833619cbb0cf2bc71b1d7b534101e139cc6e6";
|
||||||
|
|
||||||
goPackagePath = "github.com/ns1/waitron";
|
goPackagePath = "github.com/ns1/waitron";
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "unstable-2020-11-02";
|
version = "unstable-2020-11-02";
|
||||||
name = "dydisnix-${version}";
|
pname = "dydisnix";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "svanderburg";
|
owner = "svanderburg";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, python3Packages, fetchurl, git }:
|
{ lib, python3Packages, fetchurl, git }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
name = "nox-${version}";
|
pname = "nox";
|
||||||
version = "0.0.6";
|
version = "0.0.6";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ stdenv, gnupg, coreutils, writeScript }:
|
{ stdenv, gnupg, coreutils, writeScript }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gnupg1compat-${gnupg.version}";
|
pname = "gnupg1compat";
|
||||||
|
version = gnupg.version;
|
||||||
|
|
||||||
builder = writeScript "gnupg1compat-builder" ''
|
builder = writeScript "gnupg1compat-builder" ''
|
||||||
PATH=${coreutils}/bin
|
PATH=${coreutils}/bin
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "srm";
|
||||||
name = "srm-" + version;
|
|
||||||
version = "1.2.15";
|
version = "1.2.15";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/srm/${version}/${name}.tar.gz";
|
url = "mirror://sourceforge/project/srm/${version}/srm-${version}.tar.gz";
|
||||||
sha256 = "10sjarhprs6s4zandndg720528rcnd4xk8dl48pjj7li1q9c30vm";
|
sha256 = "10sjarhprs6s4zandndg720528rcnd4xk8dl48pjj7li1q9c30vm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{ lib, stdenv, fetchurl, openssl }:
|
{ lib, stdenv, fetchurl, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
baseName = "ipmiutil";
|
pname = "ipmiutil";
|
||||||
version = "3.1.6";
|
version = "3.1.6";
|
||||||
name = "${baseName}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/${baseName}/${name}.tar.gz";
|
url = "mirror://sourceforge/project/ipmiutil/pmiutil-${version}.tar.gz";
|
||||||
sha256 = "0jlfb4firph3hc0854n7cw7yjwlax3wdxn37r2jl0l94dj684548";
|
sha256 = "0jlfb4firph3hc0854n7cw7yjwlax3wdxn37r2jl0l94dj684548";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
{ lib, fetchFromGitHub, python2Packages }:
|
{ lib, fetchFromGitHub, python2Packages }:
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
program = "grin";
|
pname = "grin";
|
||||||
version = "1.2.1";
|
version = "1.2.1";
|
||||||
name = "${program}-${version}";
|
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rkern";
|
owner = "rkern";
|
||||||
repo = program;
|
repo = pname;
|
||||||
rev = "8dd4b5309b3bc04fe9d3e71836420f7d8d4a293f";
|
rev = "8dd4b5309b3bc04fe9d3e71836420f7d8d4a293f";
|
||||||
sha256 = "0vz2aahwdcy1296g4w3i79dkvmzk9jc2n2zmlcvlg5m3s6h7b6jd";
|
sha256 = "0vz2aahwdcy1296g4w3i79dkvmzk9jc2n2zmlcvlg5m3s6h7b6jd";
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,7 +4,8 @@ let
|
||||||
mecab-base = import ./base.nix { inherit fetchurl; };
|
mecab-base = import ./base.nix { inherit fetchurl; };
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (mecab-base // {
|
stdenv.mkDerivation (mecab-base // {
|
||||||
name = "mecab-${mecab-base.version}";
|
pname = "mecab";
|
||||||
|
version = mecab-base.version;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -i 's|^dicdir = .*$|dicdir = ${mecab-ipadic}|' "$out/etc/mecabrc"
|
sed -i 's|^dicdir = .*$|dicdir = ${mecab-ipadic}|' "$out/etc/mecabrc"
|
||||||
|
|
|
@ -4,5 +4,6 @@ let
|
||||||
mecab-base = import ./base.nix { inherit fetchurl; };
|
mecab-base = import ./base.nix { inherit fetchurl; };
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (mecab-base // {
|
stdenv.mkDerivation (mecab-base // {
|
||||||
name = "mecab-nodic-${mecab-base.version}";
|
pname = "mecab-nodic";
|
||||||
|
version = mecab-base.version;
|
||||||
})
|
})
|
||||||
|
|
|
@ -9,7 +9,8 @@ let
|
||||||
gemset = ./gemset.nix;
|
gemset = ./gemset.nix;
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "papertrail-${(import ./gemset.nix).papertrail.version}";
|
pname = "papertrail";
|
||||||
|
version = (import ./gemset.nix).papertrail.version;
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchurl, gnum4 }:
|
{ lib, stdenv, fetchurl, gnum4 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "jade-${version}-${debpatch}";
|
pname = "jade";
|
||||||
version = "1.2.1";
|
version = "1.2.1";
|
||||||
debpatch = "47.3";
|
debpatch = "47.3";
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, fetchFromGitHub }:
|
{ stdenv, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "smu";
|
pname = "smu";
|
||||||
version = "1.5";
|
version = "1.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, rpmextract, fetchurl, python2, tree }:
|
{ stdenv, lib, rpmextract, fetchurl, python2, tree }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ec2-utils";
|
pname = "ec2-utils";
|
||||||
version = "0.5.1";
|
version = "0.5.1";
|
||||||
|
|
||||||
# The url can be determined by booting an "Amazon Linux 2" and running:
|
# The url can be determined by booting an "Amazon Linux 2" and running:
|
||||||
|
|
|
@ -4,13 +4,12 @@
|
||||||
, enableShells ? [ "bash" "zsh" "fish" "sh" "posh" ]
|
, enableShells ? [ "bash" "zsh" "fish" "sh" "posh" ]
|
||||||
}:
|
}:
|
||||||
nimPackages.buildNimPackage rec{
|
nimPackages.buildNimPackage rec{
|
||||||
|
pname = "swaycwd";
|
||||||
name = "swaycwd";
|
|
||||||
version = "0.0.2";
|
version = "0.0.2";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "cab404";
|
owner = "cab404";
|
||||||
repo = name;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-OZWOPtOqcX+fVQCxWntrn98EzFu70WH55rfYCPDMSKk=";
|
hash = "sha256-OZWOPtOqcX+fVQCxWntrn98EzFu70WH55rfYCPDMSKk=";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue