f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
34 lines
779 B
Nix
34 lines
779 B
Nix
{ stdenv, fetchurl, python2, git }:
|
|
|
|
let
|
|
name = "stgit-0.17.1";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit name;
|
|
|
|
src = fetchurl {
|
|
url = "http://download.gna.org/stgit/${name}.tar.gz";
|
|
sha256 = "1pka0ns9x0kabn036zsf0mwmwiynckhnva51kgxsch9fqah6acyl";
|
|
};
|
|
|
|
buildInputs = [ python2 git ];
|
|
|
|
makeFlags = "prefix=$$out";
|
|
|
|
postInstall = ''
|
|
mkdir -p "$out/etc/bash_completion.d/"
|
|
ln -s ../../share/stgit/completion/stgit-completion.bash "$out/etc/bash_completion.d/"
|
|
'';
|
|
|
|
doCheck = false;
|
|
checkTarget = "test";
|
|
|
|
meta = {
|
|
homepage = http://procode.org/stgit/;
|
|
description = "A patch manager implemented on top of Git";
|
|
license = "GPL";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|