pythonPackages.pyside: switch to fetchFromGitHub
This commit is contained in:
parent
9001546fab
commit
aa57bfb3ea
1 changed files with 6 additions and 5 deletions
|
@ -1,14 +1,15 @@
|
|||
{ lib, fetchurl, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4, mesa, libGL }:
|
||||
{ lib, fetchFromGitHub, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4, mesa, libGL }:
|
||||
|
||||
# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
|
||||
buildPythonPackage rec {
|
||||
pname = "pyside";
|
||||
version = "1.2.4";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/PySide/PySide/archive/${version}.tar.gz";
|
||||
sha256 = "90f2d736e2192ac69e5a2ac798fce2b5f7bf179269daa2ec262986d488c3b0f7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "PySide";
|
||||
repo = "PySide";
|
||||
rev = version;
|
||||
sha256 = "sha256-14XbihJRMk9WaeK6NUBV/4OMFZF8EBIJgEJEaCU8Ecg=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
Loading…
Reference in a new issue