default.nix (804B)
1 { 2 lib, 3 stdenv, 4 python3Packages, 5 fetchFromGitHub, 6 thinplatespline, 7 }: 8 9 python3Packages.buildPythonPackage { 10 pname = "maprec"; 11 version = "0-unstable-2023-04-18"; 12 13 src = fetchFromGitHub { 14 owner = "wladich"; 15 repo = "maprec"; 16 rev = "ccefe661659a30c1bd334710e5884256b945a042"; 17 hash = "sha256-jm7B5I5OxG3oVxq/AUzN2P1GPa5uQIx0TWMKgx47C28="; 18 }; 19 20 postPatch = '' 21 substituteInPlace setup.py \ 22 --replace-fail " @ git+https://github.com/wladich/thinplatespline.git" "" 23 ''; 24 25 dependencies = with python3Packages; [ 26 pyyaml 27 pyproj 28 thinplatespline 29 ]; 30 31 doCheck = false; 32 33 pythonImportsCheck = [ "maprec" ]; 34 35 meta = { 36 homepage = "https://github.com/wladich/maprec"; 37 license = lib.licenses.free; 38 maintainers = [ lib.maintainers.sikmir ]; 39 }; 40 }