nixpkgs/pkgs/applications/version-management/git-and-tools/git-dit/default.nix

47 lines
787 B
Nix
Raw Normal View History

2017-10-15 10:59:30 +00:00
{ stdenv
, fetchFromGitHub
, openssl
, gcc
, zlib
, libssh
, cmake
, perl
, pkgconfig
, rustPlatform
}:
with rustPlatform;
buildRustPackage rec {
2017-02-24 15:38:10 +00:00
name = "git-dit-${version}";
2017-10-15 10:59:30 +00:00
version = "0.4.0";
2017-02-24 15:38:10 +00:00
src = fetchFromGitHub {
owner = "neithernut";
repo = "git-dit";
rev = "v${version}";
2017-10-15 10:59:30 +00:00
sha256 = "1sx6sc2dj3l61gbiqz8vfyhw5w4xjdyfzn1ixz0y8ipm579yc7a2";
2017-02-24 15:38:10 +00:00
};
2017-10-15 10:59:30 +00:00
depsSha256 = "1z2n3z5wkh5z5vc976yscq77fgjszwzwlrp7g17hmsbhzx6x170h";
2017-02-24 15:38:10 +00:00
2017-10-15 10:59:30 +00:00
nativeBuildInputs = [
cmake
pkgconfig
perl
];
2017-02-24 15:38:10 +00:00
2017-10-15 10:59:30 +00:00
buildInputs = [
openssl
libssh
zlib
];
2017-02-24 15:38:10 +00:00
meta = with stdenv.lib; {
2017-02-25 10:48:22 +00:00
inherit (src.meta) homepage;
2017-02-24 15:38:10 +00:00
description = "Decentralized Issue Tracking for git";
license = licenses.gpl2;
maintainers = with maintainers; [ profpatsch matthiasbeyer ];
};
}