pkgs/dropout-dl: init at 0.9
This commit is contained in:
parent
46cc98986f
commit
cc3c47c126
2 changed files with 28 additions and 0 deletions
27
pkgs/dropout-dl.nix
Normal file
27
pkgs/dropout-dl.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
|
||||
curl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dropout-dl";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mosswg";
|
||||
repo = "dropout-dl";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-fN5RRDa+IDAT9uXpiEEaBRMXHOn7ZY4R1iqXJ9kpla8=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -m555 -D -t $out/bin dropout-dl
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ curl ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue