mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
termtosvg: fetch source from pypi
This commit is contained in:
parent
cc29045d99
commit
6cff78771b
@ -1,18 +1,15 @@
|
|||||||
{ lib, python3, fetchFromGitHub }:
|
{ lib, python3Packages }:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "termtosvg";
|
pname = "termtosvg";
|
||||||
version = "0.8.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
# tests are not available when fetching from pypi
|
src = python3Packages.fetchPypi {
|
||||||
src = fetchFromGitHub {
|
inherit pname version;
|
||||||
owner = "nbedos";
|
sha256 = "e3a0a7bd511028c96d242525df807a23e6f22e55b111a7ee861f294a86224b0c";
|
||||||
repo = pname;
|
|
||||||
rev = version;
|
|
||||||
sha256 = "0si5l8cdbzapcibr4yavhld2vhfrpk7qj4cy7m4ws7js8g9iwzd4";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [ lxml pyte ];
|
propagatedBuildInputs = with python3Packages; [ lxml pyte ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://nbedos.github.io/termtosvg/;
|
homepage = https://nbedos.github.io/termtosvg/;
|
||||||
|
Loading…
Reference in New Issue
Block a user