depot/third_party/nixpkgs/pkgs/tools/filesystems/idsk/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
622 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "idsk";
version = "0.19";
src = fetchFromGitHub {
repo = "idsk";
owner = "cpcsdk";
rev = "v${version}";
sha256 = "0b4my5cz5kbzh4n65jr721piha6zixaxmfiss2zidip978k9rb6f";
};
nativeBuildInputs = [ cmake ];
installPhase = ''
mkdir -p $out/bin
cp iDSK $out/bin
'';
meta = with stdenv.lib; {
description = "Manipulating CPC dsk images and files";
homepage = "https://github.com/cpcsdk/idsk" ;
license = licenses.mit;
maintainers = [ maintainers.genesis ];
platforms = platforms.linux;
};
}