pythonPackages.slob: refactor move to python-modules
This commit is contained in:
		
							parent
							
								
									7040bd13cd
								
							
						
					
					
						commit
						aa04e9b16b
					
				
							
								
								
									
										34
									
								
								pkgs/development/python-modules/slob/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								pkgs/development/python-modules/slob/default.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,34 @@
 | 
			
		||||
{ stdenv
 | 
			
		||||
, buildPythonPackage
 | 
			
		||||
, fetchFromGitHub
 | 
			
		||||
, isPy3k
 | 
			
		||||
, PyICU
 | 
			
		||||
, python
 | 
			
		||||
}:
 | 
			
		||||
 | 
			
		||||
buildPythonPackage rec {
 | 
			
		||||
  name = "slob";
 | 
			
		||||
  verison = "unstable-2016-11-03";
 | 
			
		||||
  disabled = !isPy3k;
 | 
			
		||||
 | 
			
		||||
  src = fetchFromGitHub {
 | 
			
		||||
    owner = "itkach";
 | 
			
		||||
    repo = "slob";
 | 
			
		||||
    rev = "d1ed71e4778729ecdfc2fe27ed783689a220a6cd";
 | 
			
		||||
    sha256 = "1r510s4r124s121wwdm9qgap6zivlqqxrhxljz8nx0kv0cdyypi5";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  propagatedBuildInputs = [ PyICU ];
 | 
			
		||||
 | 
			
		||||
  checkPhase = ''
 | 
			
		||||
    ${python.interpreter} -m unittest slob
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  meta = with stdenv.lib; {
 | 
			
		||||
    homepage = https://github.com/itkach/slob/;
 | 
			
		||||
    description = "Reference implementation of the slob (sorted list of blobs) format";
 | 
			
		||||
    license = licenses.gpl3;
 | 
			
		||||
    maintainers = [ maintainers.rycee ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@ -3730,30 +3730,7 @@ in {
 | 
			
		||||
 | 
			
		||||
  slimit = callPackage ../development/python-modules/slimit { };
 | 
			
		||||
 | 
			
		||||
  slob = buildPythonPackage rec {
 | 
			
		||||
    name = "slob-unstable-2016-11-03";
 | 
			
		||||
 | 
			
		||||
    disabled = !isPy3k;
 | 
			
		||||
 | 
			
		||||
    src = pkgs.fetchFromGitHub {
 | 
			
		||||
      owner = "itkach";
 | 
			
		||||
      repo = "slob";
 | 
			
		||||
      rev = "d1ed71e4778729ecdfc2fe27ed783689a220a6cd";
 | 
			
		||||
      sha256 = "1r510s4r124s121wwdm9qgap6zivlqqxrhxljz8nx0kv0cdyypi5";
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    propagatedBuildInputs = [ self.PyICU ];
 | 
			
		||||
 | 
			
		||||
    checkPhase = "python3 -m unittest slob";
 | 
			
		||||
 | 
			
		||||
    meta = {
 | 
			
		||||
      homepage = https://github.com/itkach/slob/;
 | 
			
		||||
      description = "Reference implementation of the slob (sorted list of blobs) format";
 | 
			
		||||
      license = licenses.gpl3;
 | 
			
		||||
      platforms = platforms.all;
 | 
			
		||||
      maintainers = [ maintainers.rycee ];
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
  slob = callPackage ../development/python-modules/slob { };
 | 
			
		||||
 | 
			
		||||
  slowaes = buildPythonPackage rec {
 | 
			
		||||
    name = "slowaes-${version}";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user