mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 06:04:14 +00:00
Merge pull request #281442 from dotlambda/starline-0.1.5
Revert "python3Packages.starline: 0.1.5 -> 0.2.0"
This commit is contained in:
commit
19e1fa2b26
@ -2,13 +2,14 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, setuptools
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "starline";
|
||||
version = "0.2.0";
|
||||
version = "0.1.5";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
@ -16,9 +17,17 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-VQsAq5XPWdkz93CKurQKTkHleQ5itlNHGv6Go68zIOY=";
|
||||
hash = "sha256-F1P1/NKml2rtd1r7A/g5IVnwQMZzkXzAxjRRDZXBPLk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/Anonym-tsk/starline/pull/5
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Anonym-tsk/starline/commit/4e6cdf8e05c5fb8509ee384e77b39a2495587160.patch";
|
||||
hash = "sha256-y9b6ePH3IEgmt3ALHQGwH102rlm4KfmH4oIoIC93cWU=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
@ -32,6 +41,9 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "starline" ];
|
||||
|
||||
# https://github.com/Anonym-tsk/starline/issues/4
|
||||
passthru.skipBulkUpdate = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unofficial python library for StarLine API";
|
||||
homepage = "https://github.com/Anonym-tsk/starline";
|
||||
|
Loading…
Reference in New Issue
Block a user