mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
30 lines
727 B
Nix
30 lines
727 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ecm-tools";
|
|
version = "1.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alucryd";
|
|
repo = "ecm-tools";
|
|
rev = "v${version}";
|
|
sha256 = "1rvyx5gcy8lfklgj80szlz3312x45wzx0d9jsgwyvy8f6m4nnb0c";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
|
|
installPhase = ''
|
|
install --directory --mode=755 $out/bin
|
|
install --mode=755 bin2ecm $out/bin
|
|
(cd $out/bin; ln -s bin2ecm ecm2bin)
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A utility to uncompress ECM files to BIN CD format";
|
|
homepage = https://github.com/alucryd/ecm-tools;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|