depot/third_party/nixpkgs/pkgs/tools/filesystems/idsk/default.nix
Default email 07d6a74cbb Project import generated by Copybara.
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
2021-03-19 18:17:44 +01:00

29 lines
598 B
Nix

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