2018-02-16 15:37:10 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2018-02-17 07:20:00 +00:00
|
|
|
repo = "idsk";
|
|
|
|
version = "unstable-2018-02-11";
|
|
|
|
rev = "1846729ac3432aa8c2c0525be45cfff8a513e007";
|
|
|
|
name = "${repo}-${version}";
|
2018-02-16 15:37:10 +00:00
|
|
|
|
2018-02-17 07:20:00 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Manipulating CPC dsk images and files";
|
|
|
|
homepage = https://github.com/cpcsdk/idsk ;
|
|
|
|
license = "unknown";
|
|
|
|
maintainers = [ maintainers.genesis ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2018-02-16 15:37:10 +00:00
|
|
|
|
2018-02-17 07:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev repo;
|
|
|
|
owner = "cpcsdk";
|
|
|
|
sha256 = "0d891lvf2nc8bys8kyf69k54rf3jlwqrcczbff8xi0w4wsiy5ckv";
|
|
|
|
};
|
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
|
|
|
|
'';
|
2018-02-16 15:37:10 +00:00
|
|
|
}
|