mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
32 lines
755 B
Nix
32 lines
755 B
Nix
|
{ stdenv, buildGoPackage, fetchFromGitHub, gnupg1compat, bzip2, xz, graphviz }:
|
||
|
|
||
|
buildGoPackage rec {
|
||
|
name = "aptly-${version}";
|
||
|
version = "0.9.7";
|
||
|
rev = "v${version}";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
inherit rev;
|
||
|
owner = "smira";
|
||
|
repo = "aptly";
|
||
|
sha256 = "0j1bmqdah4i83r2cf8zcq87aif1qg90yasgf82yygk3hj0gw1h00";
|
||
|
};
|
||
|
|
||
|
goPackagePath = "github.com/smira/aptly";
|
||
|
goDeps = ./deps.nix;
|
||
|
|
||
|
postInstall = ''
|
||
|
rm $bin/bin/man
|
||
|
'';
|
||
|
|
||
|
propagatedUserEnvPkgs = [ gnupg1compat bzip2.bin xz.bin graphviz ];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
homepage = https://www.aptly.info;
|
||
|
description = "Debian repository management tool";
|
||
|
license = licenses.mit;
|
||
|
platforms = platforms.linux;
|
||
|
maintainers = [ maintainers.montag451 ];
|
||
|
};
|
||
|
}
|