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

59 lines
1.1 KiB
Nix
Raw Normal View History

2017-10-15 10:59:30 +00:00
{ stdenv
, fetchFromGitHub
, openssl_1_0_2
2017-10-15 10:59:30 +00:00
, zlib
, libssh
, cmake
, perl
, pkgconfig
, rustPlatform
2018-05-20 02:03:09 +00:00
, curl
, libiconv
, CoreFoundation
, Security
2017-10-15 10:59:30 +00:00
}:
with rustPlatform;
buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "git-dit";
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
};
cargoSha256 = "1wjbwd3scx71l2fpxgvgwaw05lkpw13rm6d2i1x5crhs7py96ky6";
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_1_0_2
2017-10-15 10:59:30 +00:00
libssh
zlib
2018-05-20 02:03:09 +00:00
] ++ stdenv.lib.optionals (stdenv.isDarwin) [
curl
libiconv
CoreFoundation
Security
2017-10-15 10:59:30 +00:00
];
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";
# This has not had a release in years and its cargo vendored dependencies
# fail to compile. It also depends on an unsupported openssl:
# https://github.com/NixOS/nixpkgs/issues/77503
broken = true;
2017-02-24 15:38:10 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ Profpatsch matthiasbeyer ];
2017-02-24 15:38:10 +00:00
};
}