2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2018-02-16 15:37:10 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-05-10 13:48:54 +00:00
|
|
|
pname = "idsk";
|
2020-09-05 01:57:50 +00:00
|
|
|
version = "0.20";
|
2018-02-16 15:37:10 +00:00
|
|
|
|
2018-02-17 07:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
2019-05-10 13:48:54 +00:00
|
|
|
repo = "idsk";
|
2018-02-17 07:20:00 +00:00
|
|
|
owner = "cpcsdk";
|
2019-05-10 13:48:54 +00:00
|
|
|
rev = "v${version}";
|
2020-09-05 01:57:50 +00:00
|
|
|
sha256 = "05zbdkb9s6sfkni6k927795w2fqdhnf3i7kgl27715sdmmdab05d";
|
2018-02-17 07:20:00 +00:00
|
|
|
};
|
2018-02-16 15:37:10 +00:00
|
|
|
|
2018-02-17 07:20:00 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-02-16 15:37:10 +00:00
|
|
|
|
2018-02-17 07:20:00 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp iDSK $out/bin
|
|
|
|
'';
|
2019-05-10 13:48:54 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-10 13:48:54 +00:00
|
|
|
description = "Manipulating CPC dsk images and files";
|
|
|
|
homepage = "https://github.com/cpcsdk/idsk" ;
|
|
|
|
license = licenses.mit;
|
2020-11-17 16:50:53 +00:00
|
|
|
maintainers = [ ];
|
2021-03-17 09:27:06 +00:00
|
|
|
platforms = platforms.all;
|
2019-05-10 13:48:54 +00:00
|
|
|
};
|
2018-02-16 15:37:10 +00:00
|
|
|
}
|