pythonPackages.smugpy : move to separate expression
This commit is contained in:
parent
6ba7b4c672
commit
c0433265bb
22
pkgs/development/python-modules/smugpy/default.nix
Normal file
22
pkgs/development/python-modules/smugpy/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = pname + "-" + version;
|
||||||
|
pname = "smugpy";
|
||||||
|
version = "20131218";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "chrishoffman";
|
||||||
|
repo = pname;
|
||||||
|
rev = "f698d6749ce446e3d6c7d925b2cd1cd5b3d695ea";
|
||||||
|
sha256 = "029x6hm1744iznv4sw8sfyl974wmx1sqnr1k5dvzzwpk3ja49a1y";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python library for the SmugMug API";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
homepage = https://github.com/chrishoffman/smugpy;
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false; # Tries to login to Smugmug…
|
||||||
|
}
|
@ -28199,22 +28199,7 @@ EOF
|
|||||||
buildInputs = with self; [ pkgs.swig1 pkgs.coin3d pkgs.soqt pkgs.mesa pkgs.xorg.libXi ];
|
buildInputs = with self; [ pkgs.swig1 pkgs.coin3d pkgs.soqt pkgs.mesa pkgs.xorg.libXi ];
|
||||||
};
|
};
|
||||||
|
|
||||||
smugpy = buildPythonPackage rec {
|
smugpy = callPackage ../development/python-modules/smugpy { };
|
||||||
name = pname + "-" + version;
|
|
||||||
pname = "smugpy";
|
|
||||||
version = "20131218";
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "chrishoffman";
|
|
||||||
repo = pname;
|
|
||||||
rev = "f698d6749ce446e3d6c7d925b2cd1cd5b3d695ea";
|
|
||||||
sha256 = "029x6hm1744iznv4sw8sfyl974wmx1sqnr1k5dvzzwpk3ja49a1y";
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = false; # Tries to login to Smugmug…
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ ];
|
|
||||||
};
|
|
||||||
|
|
||||||
smugline = stdenv.mkDerivation rec {
|
smugline = stdenv.mkDerivation rec {
|
||||||
name = pname + "-" + version;
|
name = pname + "-" + version;
|
||||||
|
Loading…
Reference in New Issue
Block a user