3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/git-dit/default.nix
Andreas Rammhold 43ab7e184d
gitAndTools.git-dit: use openssl 1.0.2
There hasn't been a release in almost two years. Some (pinned)
dependency doesn't work with a newer openssl yet :/
2019-07-29 21:25:13 +02:00

55 lines
942 B
Nix

{ stdenv
, fetchFromGitHub
, openssl_1_0_2
, zlib
, libssh
, cmake
, perl
, pkgconfig
, rustPlatform
, curl
, libiconv
, CoreFoundation
, Security
}:
with rustPlatform;
buildRustPackage rec {
name = "git-dit-${version}";
version = "0.4.0";
src = fetchFromGitHub {
owner = "neithernut";
repo = "git-dit";
rev = "v${version}";
sha256 = "1sx6sc2dj3l61gbiqz8vfyhw5w4xjdyfzn1ixz0y8ipm579yc7a2";
};
cargoSha256 = "10852131aizfw9j1yl4gz180h4gd8y5ymx3wmf5v9cmqiqxy8bgy";
nativeBuildInputs = [
cmake
pkgconfig
perl
];
buildInputs = [
openssl_1_0_2
libssh
zlib
] ++ stdenv.lib.optionals (stdenv.isDarwin) [
curl
libiconv
CoreFoundation
Security
];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Decentralized Issue Tracking for git";
license = licenses.gpl2;
maintainers = with maintainers; [ Profpatsch matthiasbeyer ];
};
}