nixpkgs-suyu/pkgs/tools/filesystems/idsk/default.nix

30 lines
622 B
Nix
Raw Normal View History

2018-02-16 16:37:10 +01:00
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
2019-05-10 15:48:54 +02:00
pname = "idsk";
version = "0.19";
2018-02-16 16:37:10 +01:00
2018-02-17 08:20:00 +01:00
src = fetchFromGitHub {
2019-05-10 15:48:54 +02:00
repo = "idsk";
2018-02-17 08:20:00 +01:00
owner = "cpcsdk";
2019-05-10 15:48:54 +02:00
rev = "v${version}";
sha256 = "0b4my5cz5kbzh4n65jr721piha6zixaxmfiss2zidip978k9rb6f";
2018-02-17 08:20:00 +01:00
};
2018-02-16 16:37:10 +01:00
2018-02-17 08:20:00 +01:00
nativeBuildInputs = [ cmake ];
2018-02-16 16:37:10 +01:00
2018-02-17 08:20:00 +01:00
installPhase = ''
mkdir -p $out/bin
cp iDSK $out/bin
'';
2019-05-10 15:48:54 +02:00
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;
};
2018-02-16 16:37:10 +01:00
}