2017-10-15 11:59:30 +01: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 11:59:30 +01: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 11:59:30 +01:00
|
|
|
sha256 = "1sx6sc2dj3l61gbiqz8vfyhw5w4xjdyfzn1ixz0y8ipm579yc7a2";
|
2017-02-24 15:38:10 +00:00
|
|
|
};
|
|
|
|
|
2017-08-05 15:38:48 +01:00
|
|
|
cargoSha256 = "08zbvjwjdpv2sbj6mh73py82inhs18jvmh8m9k4l94fcz6ykgqwr";
|
2017-02-24 15:38:10 +00:00
|
|
|
|
2017-10-15 11:59:30 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
perl
|
|
|
|
];
|
2017-02-24 15:38:10 +00:00
|
|
|
|
2017-10-15 11:59:30 +01: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;
|
2018-04-06 09:57:19 +01:00
|
|
|
maintainers = with maintainers; [ Profpatsch ];
|
2017-02-24 15:38:10 +00:00
|
|
|
};
|
|
|
|
}
|