nixpkgs/pkgs/development/python-modules/smugpy/default.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

22 lines
564 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
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…
}