nixpkgs-suyu/pkgs/development/python-modules/pycuda/compyte.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

21 lines
370 B
Nix

{ mkDerivation
, fetchFromGitHub
}:
mkDerivation rec {
pname = "compyte";
version = "git-20150817";
src = fetchFromGitHub {
owner = "inducer";
repo = "compyte";
rev = "ac1c71d46428c14aa1bd1c09d7da19cd0298d5cc";
sha256 = "1980h017qi52b7fqwm75m481xs2napgdd3fbrzkfc29k085cbign";
};
installPhase = ''
mkdir -p $out
cp -r * $out
'';
}