Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flask, 6}: 7 8buildPythonPackage rec { 9 pname = "flask-versioned"; 10 version = "0.9.4-20101221"; 11 12 src = fetchFromGitHub { 13 owner = "pilt"; 14 repo = "flask-versioned"; 15 rev = "38046fb53a09060de437c90a5f7370a6b94ffc31"; # no tags 16 sha256 = "1wim9hvx7lxzfg35c0nc7p34j4vw9mzisgijlz4ibgykah4g1y37"; 17 }; 18 19 propagatedBuildInputs = [ flask ]; 20 21 meta = with lib; { 22 description = "Flask plugin to rewrite file paths to add version info"; 23 homepage = "https://github.com/pilt/flask-versioned"; 24 license = licenses.bsd3; 25 maintainers = [ ]; 26 }; 27}