3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/stgit/default.nix
Ryan Mulligan fc038883e5 gitAndTools.stgit: 0.17.1 -> 0.18
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/stgit/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/fwhfsvfs23x3jwc2wgx805x229vxwd24-stgit-0.18/bin/stg -h` got 0 exit code
- ran `/nix/store/fwhfsvfs23x3jwc2wgx805x229vxwd24-stgit-0.18/bin/stg --help` got 0 exit code
- ran `/nix/store/fwhfsvfs23x3jwc2wgx805x229vxwd24-stgit-0.18/bin/stg help` got 0 exit code
- found 0.18 with grep in /nix/store/fwhfsvfs23x3jwc2wgx805x229vxwd24-stgit-0.18
- directory tree listing: https://gist.github.com/b3a9f7bf9ff22a7858ac4f6e4d7d7be0
2018-03-29 08:53:42 -07:00

36 lines
820 B
Nix

{ stdenv, fetchurl, python2, git }:
let
name = "stgit-${version}";
version = "0.18";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "https://github.com/ctmarinas/stgit/archive/v${version}.tar.gz";
sha256 = "19fk6vw3pgp2a98wpd4j3kyiyll5dy9bi4921wq1mrky0l53mj00";
};
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;
};
}