nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit deff672750013e426e62b1ea8918ce8eda82b134
parent 2462a8684d37a0a603896c655331afa86148020e
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Fri, 17 Jun 2022 01:20:23 +0300

Add pipfile

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/geospatial/pipfile/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -184,6 +184,7 @@ lib.makeScope newScope ( morecantile = callPackage ./geospatial/morecantile { }; orbisgis-bin = callPackage ./geospatial/orbisgis/bin.nix { jre = pkgs.jre8; }; pmtiles = callPackage ./geospatial/pmtiles { }; + pipfile = callPackage ./geospatial/pipfile { }; polyvectorization = libsForQt5.callPackage ./geospatial/polyvectorization { }; py-staticmaps = callPackage ./geospatial/py-staticmaps { }; pystac = callPackage ./geospatial/pystac { }; diff --git a/pkgs/geospatial/pipfile/default.nix b/pkgs/geospatial/pipfile/default.nix @@ -0,0 +1,25 @@ +{ lib, python3Packages, fetchFromGitHub }: + +python3Packages.buildPythonPackage rec { + pname = "pipfile"; + version = "0.0.2"; + + src = fetchFromGitHub { + owner = "pypa"; + repo = pname; + rev = "v${version}"; + hash = "sha256-GsDhxnvBvjJGQWk25cS9+HqLQ9YVSxujeX2iGivYl6Q="; + }; + + propagatedBuildInputs = with python3Packages; [ toml ]; + + doCheck = false; + pythonImportsCheck = [ "pipfile" ]; + + meta = with lib; { + description = "Pipfile: the replacement for requirements.txt"; + inherit (src.meta) homepage; + license = with licenses; [ asl20 bsd2 ]; + maintainers = [ maintainers.sikmir ]; + }; +}